package com.edais.persistence;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.edais.domain.WinUser;


public interface WinMapper {
	/**
	 * 获取已获得奖励总数
	 * 
	 * @return String
	 */
	public Map getMyWinTotalNum(@Param("userId") String userId);
	
	/**
	 * 获取已获得奖励列表
	 * 
	 * @return List<WinUser>
	 */
	public List<WinUser> getMyWinList(@Param("userId") String userId, 
			@Param("rowBegin") Integer rowBegin, @Param("rowEnd") Integer rowEnd);
	
}
